home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / usenet / sources / volume90 / util / nodelete / part01 / nodelete.doc < prev    next >
Text File  |  1990-10-15  |  7KB  |  155 lines

  1.  *************************************************************************
  2.  *              NoDelete V1.35 (C) HooverSoft  Aug 30th, 1990            *
  3.  *************************************************************************
  4.  
  5. USAGE:  1> run NoDelete [extensions] [-p priority] [-y ypos] <ENTER>
  6.                         from CLI only.
  7.  
  8.  
  9.  
  10.  
  11.                                   HISTORY
  12.  
  13.                      CHANGES TO VERSION 1.3: SEP 1990
  14. Lots  of  changes.   Thinking  of  writing  a  new  documentation.  Anyway,
  15. introduced  command line options -p and -y for run-time setting of priority
  16. of NoDelete and of vertical position of titlebar.
  17.  
  18.                      CHANGES TO VERSION 1.2: AUG 1990
  19. Introduced  the  possibilty  to give multiple extensions on startup.  Lists
  20. extensions when pressing a key while Nodelete's titlebar is active.
  21.  
  22.                      CHANGES TO VERSION 1.1: Aug 1990
  23. NoDelete now automatically centers the Dragbar on Screen and calculates the
  24. correct width for the window if a extension is specified.
  25.  
  26. Now  works  fine  with  AmiOmega.   System won't crash if "Yes, Delete!" is
  27. selected.
  28.  
  29. Now  supports  the  use of extensions to ask confirmations only for special
  30. files  ending  in  defined  extension.  Will show the selected extension in
  31. window's titlebar.
  32.  
  33. NoDelete  now  checks  if  another  NoDelete is already active and exits if
  34. true.
  35.  
  36.                      CHANGES TO VERSION 1.01: Jul 1990
  37. Now handles protected Files correctly.  Previous version didn't complain if
  38. file was delete protected.
  39.  
  40. NoDelete sets its priority to a value of -5 directly after startup.
  41.  
  42.                     CHANGES TO VERSION 1.00: June 1990
  43. Version  1.01  now  restores  the  Dos Vector relative to _DosBase, so this
  44. program  should  work under Kickstart 1.3 as well.  If someone already uses
  45. Kick 2.0, he or she should let me know if NoDelete works with that.  I have
  46. heard  that  the  funny  instructions  in DosBase have been replaced with a
  47. regular jump table.
  48.  
  49.  
  50.                            WHY USE NODELETE?
  51. I  wrote  this  program  mainly  to  make  the fantastic public domain game
  52. "Omega"  more  enjoyable  to  play.   The author of this program thought it
  53. reasonable to have the system unlink the save-file after having reloaded it
  54. to  somehow  "simulate the continuity of character".  Too bad that NoDelete
  55. does not work correctly with this program...
  56.  
  57.                               WHAT IT DOES
  58. NoDelete  enables  you  erraneous  humans  to  once  again  reflect  on the
  59. righteousness  of  your  decisions  concerning  the  deleting  of  files on
  60. AmigaDos devices.  If you try to delete a file or a program tries to remove
  61. it,  this  is  mostly  done  via  DeleteFile()  of  the  dos.library.  When
  62. executed,  NoDelete  bends  this  vector to its own routine which brings up
  63. this  cute  little requester on the active window.  This requester contains
  64. the  name  of  the file that the system is trying to delete.  If you really
  65. want  to  delete  this  file,  click to the "Yes, Delete!" gadget.  If not,
  66. click  to the "Oops, no way!"-Gadget of the requester.  NoDelete works just
  67. fine   with   aliases,   wildcards   etc.   For  problems  see  the  "known
  68. bugs"-section of this text.
  69.  
  70.                                 EXTENSIONS
  71. Lots  of  programs,  programmers  and normal people use extensions in their
  72. file system to be able to immediately make out the contents of a file.  For
  73. example,  ".c"  specifies  the file to be a C source code and ".bas" should
  74. contain  a  basic  program's  source.   There  are  tons of frequently used
  75. extensions,  from  ".asm"  up to ".cfg".  If you use NoDelete and you don't
  76. want  the  system to get on your nerves by confirming EVERY rm command, you
  77. should  use a certain extension on NoDelete's command line to tell NoDelete
  78. that  it  should  only  ask  confirmation for those precious ".c" or ".iff"
  79. files and let all others alone.
  80.  
  81. The command line
  82.  
  83.                 1> run nodelete .c
  84.  
  85. would  tell NoDelete to only intercept the removing of files ending in ".c"
  86. and not to worry about any other files that are removed from the device.
  87.  
  88. You can specifiy up to ten extensions when running NoDelete. The command
  89.  
  90.                 1> run NoDelete .c .iff .tex .asm
  91.  
  92. will  make  NoDelete  complain  about  any  file  which  ends in one of the
  93. specified  extensions  and  leave  all others alone.  If you have forgotten
  94. which  extensions  you  specified  at  startup,  just  activate  NoDelete's
  95. titlebar  and  press any key.  NoDelete will then give a list of extensions
  96. in the titlebar until another key is pressed.
  97.  
  98.  
  99.  
  100.                            COMMAND LINE OPTIONS
  101. Finally,  HooverSoft  is  proud  to have introduced command line options in
  102. NoDelete.  So far, two options are supported:
  103.  
  104. -p      number  where number is an integer between -20 and 9. If given on
  105.         the command line, NoDelete will set its priority to this
  106.         value.  If you type rubbish or use values not allowed, the
  107.         default priority of -5 is set.
  108.  
  109. -y ypos where ypos is an integer ranging from zero to 245
  110.         This number will determine the ver-
  111.         tical position of NoDelete's titlebar.  if you try to fool
  112.         NoDelete or do not give this option, the default value zero
  113.         (top of screen) is used.
  114.  
  115.                                KNOWN BUGS
  116. NoDelete  cannot  take  care of the AmigaDos command Delete.  God knows how
  117. this command erases a disk file...
  118.  
  119. The  Shell  won't complain if you try to delete any non-existent file while
  120. NoDelete  has  its  grip  on  the system.  This is not really a bug because
  121. NoDelete  works  on  this  basis  of  cheating  the  calling  function  and
  122. pretending that everything is just fine and deleted.
  123.  
  124. Sometimes  it is possible to get two copies of NoDelete running at the same
  125. time.   I  can't  explain  how  this is to be done, but somehow it works...
  126. Anyway this happens very seldomly.
  127.  
  128.                             THE LEGAL STUFF
  129. NoDelete  is copyright (C) by HooverSoft.  It may not be copied or sold for
  130. commercial   purposes.   It  may  be  distributed  and  copied  freely  for
  131. non-commercial purposes only.
  132.  
  133.                     FURTHER PLANS & HOPELESS DREAMS
  134. I  would  like  to use CreateTask() to launch a separate Task for Nodelete.
  135. This would unlink NoDelete's memory requirements from the current stacksize
  136. of  the  system.  It would be nice if "delete" could also be disabled but I
  137. am not sure how to do this.
  138.  
  139.                             PUBLIC FEEDBACK
  140. Bug  reports  (cheers, Jensi!), criticism, comments and approvements should
  141. be sent to
  142.  
  143.                                   SNAIL:
  144.                               HooverSoft Inc.
  145.                             Joellenbecker Weg 4
  146.                               D-4900 Herford
  147.                                   Germany
  148.  
  149.                                   BITNET:
  150.                        hoover@math4.uni-bielefeld.de
  151.  
  152.  
  153. Have fun & God bless you,
  154. hoover
  155.